package com.parenting.request;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShopUserAddRequest对象", description="店铺店员用户新增对象")
public class ShopUserAddRequest implements Serializable {

    @ApiModelProperty(value = "姓名")
    @NotNull(message = "姓名不能为空")
    private String fullName;

    @ApiModelProperty(value = "账号")
    @NotNull(message = "账号不能为空")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "工号")
    private String jobNumber;

    @ApiModelProperty(value = "手机号")
    @NotNull(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "性别(1、男，2、女，3、其它)")
    private Integer sex;

    @ApiModelProperty(value = "简介")
    private String brief;

    @ApiModelProperty(value = "擅长")
    private String beGoodAt;

    @ApiModelProperty(value = "头像url")
    private String imageUrl;

    @ApiModelProperty(value = "工作年限")
    private Integer workingYears;

    @ApiModelProperty(value = "角色名称")
    @NotNull(message = "角色名称不能为空")
    private String roleName;
}
